package com.zyj.springboothapim.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HtmlController {
/*
* 网页请求跳转类
* */
    Logger logger = LoggerFactory.getLogger(HtmlController.class);

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String test() {
        logger.info("=====");
        return "/test";
    }

    @RequestMapping(value = {"/login","/login.html"}, method = RequestMethod.GET)
    public String login() {
        logger.info("=====");
        return "/login";
    }
    @RequestMapping(value = {"/index","/index.html"}, method = RequestMethod.GET)
    public String index() {
        logger.info("=====");
        return "/index.html";
    }
    @RequestMapping(value = {"/info-admin","/info-admin.html"}, method = RequestMethod.GET)
    public String info_admin() {
        logger.info("=====");
        return "/info-admin";
    }
    @RequestMapping(value = {"/info-modify","/info-modify.html"}, method = RequestMethod.GET)
    public String info_modify() {
        logger.info("=====");
        return "/info-modify.html";

    }
    @RequestMapping(value = {"/info-view","/info-view.html"}, method = RequestMethod.GET)
    public String info_view() {
        logger.info("=====");
        return "/info-view";
    }
    @RequestMapping(value = {"/notice","/notice.html"}, method = RequestMethod.GET)
    public String notice() {
        logger.info("=====");
        return "/notice.html";
    }
    @RequestMapping(value = {"/parks-apply","/parks-apply.html"}, method = RequestMethod.GET)
    public String parks_apply() {
        logger.info("=====");
        return "/parks-apply";
    }
    @RequestMapping(value = {"/parks-arrange","/parks-arrange.html"}, method = RequestMethod.GET)
    public String parks_arrange() {
        logger.info("=====");
        return "/parks-arrange.html";
    }

    @RequestMapping(value = {"/parks-flow","/parks-flow.html"}, method = RequestMethod.GET)
    public String parks_flow() {
        logger.info("=====");
        return "/parks-flow";
    }
    @RequestMapping(value = {"/parks-info","/parks-info.html"}, method = RequestMethod.GET)
    public String parks_info() {
        logger.info("=====");
        return "/parks-info.html";
    }
    @RequestMapping(value = {"/parks-set","/parks-set.html"}, method = RequestMethod.GET)
    public String parks_set() {
        logger.info("=====");
        return "/parks-set";
    }
    @RequestMapping(value = {"/room-ban","/room-ban.html"}, method = RequestMethod.GET)
    public String room_ban() {
        logger.info("=====");
        return "/room-ban.html";

    }
    @RequestMapping(value = {"/room-change","/room-change.html"}, method = RequestMethod.GET)
    public String room_change() {
        logger.info("=====");
        return "/room-change";
    }
    @RequestMapping(value = {"/room-sale","/room-sale.html"}, method = RequestMethod.GET)
    public String room_sale() {
        logger.info("=====");
        return "/room-sale.html";
    }
    @RequestMapping(value = {"/table-complain","/table-complain.html"}, method = RequestMethod.GET)
    public String table_complaint() {
        logger.info("=====");
        return "/table-complain";
    }
    @RequestMapping(value = {"/table-fee","/table-fee.html"}, method = RequestMethod.GET)
    public String table_fee() {
        logger.info("=====");
        return "/table-fee.html";
    }

    @RequestMapping(value = {"/table-repair","/table-repair.html"}, method = RequestMethod.GET)
    public String table_repair() {
        logger.info("=====");
        return "/table-repair";
    }
    @RequestMapping(value = {"/table-user","/table-user.html"}, method = RequestMethod.GET)
    public String table_user() {
        logger.info("=====");
        return "/table-user.html";

    }
    @RequestMapping(value = {"/user-add","/user-add.html"}, method = RequestMethod.GET)
    public String user_add() {
        logger.info("=====");
        return "/user-add";
    }
    @RequestMapping(value = {"/user-change","/user-change.html"}, method = RequestMethod.GET)
    public String user_change() {
        logger.info("=====");
        return "/user-change.html";
    }
    @RequestMapping(value = {"/user-delete","/user-delete.html"}, method = RequestMethod.GET)
    public String user_delete() {
        logger.info("=====");
        return "/user-delete";
    }






}